package com.hlkj.warboot.configurer.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: lixing
 * @Date: 2020/8/23 15:38
 */
@Component
@ConfigurationProperties(prefix = "spring.redis")
@Data
public class YmlProperties {
    private String host;
    private int port;
    private int database;
    private String password;
    private long timeout;
}
